From ca66b630c09e49002c1b9fa86562e54737eea3e2 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Wed, 14 Apr 2021 14:12:06 +0200 Subject: [PATCH] luci-mod-system: remove bogus btn class in flash.js * fixes #4970 Signed-off-by: Dirk Brenken [omit translation sync] Signed-off-by: Jo-Philipp Wich (backported from commit 8c6a29a45cba64724bd726e52719eabbfa8528a6) --- .../htdocs/luci-static/resources/view/system/flash.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js index 6ab18a3d32..1207fc63b5 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js @@ -251,11 +251,9 @@ return view.extend({ if ((!is_valid || is_too_big) && is_forceable) - body.push(E('p', {}, E('label', { 'class': 'btn alert-message danger' }, [ - force, ' ', _('Force upgrade'), - E('br'), E('br'), - _('Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!') - ]))); + body.push(E('p', { 'class': 'alert-message danger' }, [ + force, ' ', _('Force upgrade: Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!') + ])); var cntbtn = E('button', { 'class': 'btn cbi-button-action important', -- 2.30.2